package cn.akwangl.design.pattern.behavioral.memento;

/**
 * 备忘录
 *
 * @author youyongkun
 * @date 2021/12/8 22:36
 */
public class Memento {
    private String state;
    public Memento(String state) {
        this.state = state;
    }
    public void setState(String state) {
        this.state = state;
    }
    public String getState() {
        return state;
    }
}